//package com.itc.dispatch.feign;
//
//import com.itc.dispatch.service.AlarmConfigService;
//import com.itc.dispatch.service.FlightOperationMonitoringPtdService;
//import com.itc.dispatch.service.FlightOperationMonitoringService;
//import com.itc.dispatch.service.FlightTimeExchangeService;
//import io.swagger.annotations.Api;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
///**
// * @Author zhangyh
// */
//@Api(tags = "调度服务Feign远程调用客户端")
//@RestController
//@RequestMapping("/dispatchFeign")
//public class DispatchClient {
//    @Autowired
//    private FlightOperationMonitoringService monitoringService;
//
//    @Autowired
//    private AlarmConfigService alarmConfigService;
//
//    @Autowired
//    private FlightTimeExchangeService flightTimeExchangeService;
//
//    @Autowired
//    private FlightOperationMonitoringPtdService flightOperationMonitoringPtdService;
//
//    /**
//     * 航班运行监控数据更新
//     */
//    @GetMapping(value = "/monitor/data/update")
//    public void monitorDataUpdate(){
//        monitoringService.monitorDataUpdate();
//    }
//
//    /**
//     * 时隙交换航班信息同步
//     */
//    @GetMapping(value = "/time/slot/exchange")
//    public void timeslotExchange(){
//        flightTimeExchangeService.timeslotExchange();
//    }
//
//    /**
//     * 预测起飞数据更新
//     */
//    @GetMapping(value = "/ptd/data/update")
//    public void ptdDataUpdate(){
//        flightOperationMonitoringPtdService.ptdDataUpdate();
//    }
//
//    /**
//     * 告警规则触发逻辑
//     */
//    @GetMapping(value = "/alarm/trigger")
//    public void alarmTrigger(){
//        alarmConfigService.alarmTriggerTask();
//    }
//}
